<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>轻聘-未处理简历</title>
    <link rel="icon" href="../../../imgs/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="../../../plugins/layui/css/layui.css">
    <link rel="stylesheet" href="../../../css/employer/resume/unprocessed_resume.css">

</head>
<body>
  <div class="layui-content-fluid">
    <div class="layui-row">
        <ul class="layui-nav layui-nav-tree layui-nav-side" lay-filter="test">
            <li class="layui-nav-item">
                <a href="javascript:;"><img src="../../../imgs/avatar.jpeg" class="layui-nav-img">刘文秀</a>
                <dl class="layui-nav-child">
                    <dd><a href="../employer_index.html">我的主页</a></dd>
                    <dd><a href="../../login/login1.html">切换为求职者</a></dd>
                    <dd><a href="../../login/login_enterprise1.html">退出登录</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item ">
                <a href="javascript:;">我的招聘</a>
                <dl class="layui-nav-child">
                    <dd><a href="../recruitment/recruitment_post.html">我的发布</a></dd>
                    <dd><a href="../recruitment/new_recruitment.html">新的职位</a></dd>
                    <dd><a href="../recruitment/recruitment_data.html">招聘数据</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item layui-nav-itemed">
                <a href="javascript:;">简历中心</a>
                <dl class="layui-nav-child">
                    <dd><a href="./unprocessed_resume.html" class="layui-this">未处理简历</a></dd>
                    <dd><a href="./processed_resume.html">已处理简历</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</div>
    <div class="layui-content-fluid">
        <div class="layui-row">
          <div class="mypost">
            <h2>未处理简历</h2>
            <table class="layui-hide" id="resume" lay-filter="resume"></table>
          </div>
        </div>
      </div>
    <script src="../../../plugins/layui/layui.js"></script>
    <script type="text/html" id="barDemo">
        <button class="layui-btn layui-btn-xs" lay-event="view"><i class="layui-icon">&#xe67b;</i>查看</button>
        <button class="layui-btn layui-btn-xs layui-btn-normal" lay-event="yes"><i class="layui-icon">&#xe6af;</i>有意向</button>
        <button class="layui-btn layui-btn-xs layui-btn-danger" lay-event="no"><i class="layui-icon">&#xe69c;</i>无意向</button>
    </script>
    <script type="text/javascript">
        layui.use(["table", "form"], function () {
          let table = layui.table;
          table.render({
            elem: '#resume',
            title: '未处理简历',
            data: [
              {
                "serial_number": 1,
                "name": "李文轩",
                "sex": "男",
                "identity": "学生",
                "salary": "8k-10k",
                "industry": "Java开发",
                "job": "Java开发工程师",
                "city": "苏州",
                "state": "待业",
                "delivery_time": "2021-07-16 00:00:00"
              }, {
                "serial_number": 2,
                "name": "李溢",
                "sex": "男",
                "identity": "职场人",
                "salary": "8k-10k",
                "industry": "web开发",
                "job": "web工程师",
                "city": "深圳",
                "state": "在岗",
                "delivery_time": "2021-08-16 18:20:00"
              }, {
                "serial_number": 3,
                "name": "李文轩",
                "sex": "男",
                "identity": "学生",
                "salary": "8k-10k",
                "industry": "Java开发",
                "job": "Java开发工程师",
                "city": "苏州",
                "state": "待业",
                "delivery_time": "2021-07-16 00:00:00"
              }, {
                "serial_number": 4,
                "name": "李溢",
                "sex": "男",
                "identity": "职场人",
                "salary": "8k-10k",
                "industry": "web开发",
                "job": "web工程师",
                "city": "深圳",
                "state": "在岗",
                "delivery_time": "2021-08-16 18:20:00"
              },
              {
                "serial_number": 5,
                "name": "李文轩",
                "sex": "男",
                "identity": "学生",
                "salary": "8k-10k",
                "industry": "Java开发",
                "job": "Java开发工程师",
                "city": "苏州",
                "state": "待业",
                "delivery_time": "2021-07-16 00:00:00"
              }, {
                "serial_number": 6,
                "name": "李溢",
                "sex": "男",
                "identity": "职场人",
                "salary": "8k-10k",
                "industry": "web开发",
                "job": "web工程师",
                "city": "深圳",
                "state": "在岗",
                "delivery_time": "2021-08-16 18:20:00"
              },
              {
                "serial_number": 7,
                "name": "李文轩",
                "sex": "男",
                "identity": "学生",
                "salary": "8k-10k",
                "industry": "Java开发",
                "job": "Java开发工程师",
                "city": "苏州",
                "state": "待业",
                "delivery_time": "2021-07-16 00:00:00"
              }, {
                "serial_number": 8,
                "name": "李溢",
                "sex": "男",
                "identity": "职场人",
                "salary": "8k-10k",
                "industry": "web开发",
                "job": "web工程师",
                "city": "深圳",
                "state": "在岗",
                "delivery_time": "2021-08-16 18:20:00"
              },
              {
                "serial_number": 9,
                "name": "李文轩",
                "sex": "男",
                "identity": "学生",
                "salary": "8k-10k",
                "industry": "Java开发",
                "job": "Java开发工程师",
                "city": "苏州",
                "state": "待业",
                "delivery_time": "2021-07-16 00:00:00"
              }, {
                "serial_number": 10,
                "name": "李溢",
                "sex": "男",
                "identity": "职场人",
                "salary": "8k-10k",
                "industry": "web开发",
                "job": "web工程师",
                "city": "深圳",
                "state": "在岗",
                "delivery_time": "2021-08-16 18:20:00"
              },
              {
                "serial_number": 11,
                "name": "李文轩",
                "sex": "男",
                "identity": "学生",
                "salary": "8k-10k",
                "industry": "Java开发",
                "job": "Java开发工程师",
                "city": "苏州",
                "state": "待业",
                "delivery_time": "2021-07-16 00:00:00"
              }, {
                "serial_number": 12,
                "name": "李溢",
                "sex": "男",
                "identity": "职场人",
                "salary": "8k-10k",
                "industry": "web开发",
                "job": "web工程师",
                "city": "深圳",
                "state": "在岗",
                "delivery_time": "2021-08-16 18:20:00"
              },
              {
                "serial_number": 13,
                "name": "李文轩",
                "sex": "男",
                "identity": "学生",
                "salary": "8k-10k",
                "industry": "Java开发",
                "job": "Java开发工程师",
                "city": "苏州",
                "state": "待业",
                "delivery_time": "2021-07-16 00:00:00"
              }, {
                "serial_number": 14,
                "name": "李溢",
                "sex": "男",
                "identity": "职场人",
                "salary": "8k-10k",
                "industry": "web开发",
                "job": "web工程师",
                "city": "深圳",
                "state": "在岗",
                "delivery_time": "2021-08-16 18:20:00"
              },
              {
                "serial_number": 15,
                "name": "李文轩",
                "sex": "男",
                "identity": "学生",
                "salary": "8k-10k",
                "industry": "Java开发",
                "job": "Java开发工程师",
                "city": "苏州",
                "state": "待业",
                "delivery_time": "2021-07-16 00:00:00"
              }, {
                "serial_number": 16,
                "name": "李溢",
                "sex": "男",
                "identity": "职场人",
                "salary": "8k-10k",
                "industry": "web开发",
                "job": "web工程师",
                "city": "深圳",
                "state": "在岗",
                "delivery_time": "2021-08-16 18:20:00"
              },
              {
                "serial_number": 17,
                "name": "李文轩",
                "sex": "男",
                "identity": "学生",
                "salary": "8k-10k",
                "industry": "Java开发",
                "job": "Java开发工程师",
                "city": "苏州",
                "state": "待业",
                "delivery_time": "2021-07-16 00:00:00"
              }, {
                "serial_number": 18,
                "name": "李溢",
                "sex": "男",
                "identity": "职场人",
                "salary": "8k-10k",
                "industry": "web开发",
                "job": "web工程师",
                "city": "深圳",
                "state": "在岗",
                "delivery_time": "2021-08-16 18:20:00"
              }
            ],
            height: "645px",
            toolbar: '#toolbarDemo',
            page: true,
            limit: 10,
            cols: [[
              { type: 'checkbox', fixed: 'left' },
              { field: 'serial_number', title: '序号', width: 80, sort: true },
              { field: 'name', title: '姓名', width: 80 },
              { field: 'sex', title: '性别', width: 60 },
              { field: 'identity', title: '身份', width: 80 },
              { field: 'industry', title: '期望行业' },
              { field: 'job', title: '期望工作' },
              { field: 'city', title: '期望城市' },
              { field: 'salary', title: '薪资要求' },
              { field: 'state', title: '状态',width: 60 },
              { field: 'delivery_time', title: '投递时间', width: 180 },
              { field: 'relationName', toolbar: '#barDemo', title: '操作',width:250}
            ]]
          });
          table.on('tool(resume)', function (obj) {
                console.log(obj.event);
                if (obj.event == 'view') {
                    alert("view");
                } else if (obj.event == 'yes') {
                   alert("yes");
                } else if (obj.event == 'no') {
                   alert("no");
                } 
            });
        });
      </script>
</body>
</html>